﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;

using System.Collections.ObjectModel;

using Microsoft.Phone.Controls.Maps.Platform;

namespace OttawaTourMap.Models
{
    public class ItenariesDirectionModel
    {
        public ItenariesDirectionModel()
        {
            _directions = new ObservableCollection<DirectionModel>();
        }
        private ObservableCollection<DirectionModel> _directions;

        public ObservableCollection<DirectionModel> Directions
        {
            get
            {
                return _directions;
            }
        }

        public void addToCollection(DirectionModel newInfo)
        {
            _directions.Add(newInfo);
        }
    }

    public class DirectionModel
    {
        public DirectionModel(string directionInfo, string directionDist, string directionIndex, Rectangle boundingRectangle)
        {
            _directionInfo = directionInfo;
            _directionDist = directionDist;
            _directionIndex = directionIndex;
            _boundingRectangle = boundingRectangle;
        }

        private string _directionInfo;
        public string DirectionInfo
        {
            get
            {
                return _directionInfo;
            }
        }

        private string _directionDist;
        public string DirectionDist
        {
            get
            {
                return _directionDist;
            }
        }
        
        private string _directionIndex;
        public string DirectionIndex
        {
            get
            {
                return _directionIndex;
            }
        }

        private Rectangle _boundingRectangle;
        public Rectangle BoundingRectangle
        {
            get
            {
                return _boundingRectangle;
            }
        }

       
    }
}
